﻿using shenghua.Common.CustomValueType;
using shenghua.Common.WordNodes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace shenghua.Basics.MemberLevels
{
    public class MemberLevel: WordNode
    {
        /// <summary>
        /// 等级
        /// </summary>
        public int Level { get; set; }

        /// <summary>
        /// 所需经验值
        /// </summary>
        public int NeededXPValue { get; set; }

        /// <summary>
        /// 折扣
        /// </summary>
        public double Discount { get; set; }

        /// <summary>
        /// 等级对应的角色
        /// </summary>
        public ValueArray<string> Roles { get; set; }

        public MemberLevel()
        {
            Roles = new ValueArray<string>();
        }
    }
}
